package com.javandad.app.client.toppanel;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.javandad.app.shared.entity.Friendship;
import com.javandad.app.shared.entity.Message;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("toppanel")
public interface TopPanelService extends RemoteService {
	List<String> getSessionInfo() throws IllegalArgumentException;
	Boolean addAsFriend(Friendship friendship) throws IllegalArgumentException;
	Boolean sendMessage(Message message) throws IllegalArgumentException;
	Integer checkRelationshipStatus(String user1, String user2);
	


}
